package cn.com.java.service.impl;

import cn.com.java.mapper.ProductImagesMapper;
import cn.com.java.model.ProductImages;
import cn.com.java.service.ProductImagesService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author liushuntao
 * @date 2024/3/21
 */

@Service
@RequiredArgsConstructor
public class ProductImagesServiceImpl extends ServiceImpl<ProductImagesMapper, ProductImages> implements ProductImagesService {
    @Override
    public List<ProductImages> getByIds(List<Long> ids) {

        return this.baseMapper.selectByProductIds(ids);
    }
}
